// https://nuxt.com/docs/guide/directory-structure/server#server-routes
export default defineEventHandler(() => {
  // 模拟数据的数据结构：问后端
  return {
    code: 200,
    message: "",
    success: true,
    data: [
      {
        id: 1,
        imageUrl: "/images/banner1.jpg",
      },
      {
        id: 2,
        imageUrl: "/images/banner2.jpg",
      },
      {
        id: 3,
        imageUrl: "/images/banner3.jpg",
      },
      {
        id: 4,
        imageUrl: "/images/banner4.jpg",
      },
    ],
  };
});
